# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'FoodAIMate' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  post_install do |pi|
      pi.pods_project.targets.each do |t|
        t.build_configurations.each do |config|
          config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
	  config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
          config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
          config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
          config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
          config.build_settings['ENABLE_BITCODE'] = "NO"
          xcconfig_path = config.base_configuration_reference.real_path
                   xcconfig = File.read(xcconfig_path)
                   xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
                   File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
        end
      end
  end
pod 'IQKeyboardManager'
pod 'SDWebImage'
pod 'libpag'
pod 'SDAutoLayout'
pod 'MJExtension'
pod 'MJRefresh'
pod 'AFNetworking'
pod 'FDFullscreenPopGesture'
pod 'PNChart'
pod 'UITextView+Placeholder'
pod 'SAMKeychain'
pod 'MBProgressHUD'
pod 'Moya'
pod 'Moya/RxSwift'
pod "KeychainAccess"
pod 'SwiftyStoreKit'

  target 'FoodAIMateTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'FoodAIMateUITests' do
    # Pods for testing
  end

end
